package org.tedu.egmvcmvc01.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.tedu.egmvcmvc01.pojo.entity.Address;

import java.util.List;

@Mapper
public interface AddressMapper {
    int insertAddress(Address address);

    int deleteAddress(int id);

    int updateAddress(Address address);

    List<Address> selectAddresses();
}
